package cn.readjava.service;

import cn.readjava.bean.User;

import java.util.List;

public interface UserService {

    User findByUserEmail(String userEmail);

    User findByUserName(String username);

    User save(User user);

    User getOne(Long userId);

    void deleteById(Long id);
}
